package com.station.service;


import com.station.utils.R;
import com.station.vo.AdvancePay;

import java.util.List;

/**
 * @Description:
 * @Author: dongfangyu
 * @Date: 2025/9/17
 */
public interface PurchaseDataService {
    /**
     * 批量同步采购订单
     * @return
     */
    R batchSyncPurchase(String startDate, String endDate,  List<AdvancePay> advancePays);
    /**
     * 批量同步采购收货单
     * @return
     */
    R batchSyncInStock(String startDate, String endDate);
    /**
     * 批量同步付款单
     * @return
     */
    R batchSyncPayBill(String startDate, String endDate);

    /**
     * 确定需要同步的有预付款的采购数据
     * @return
     */
    R payBillByPurchase(String startDate, String endDate);

    /**
     * 批量同步采购退料单
     * @return
     */
    R batchSyncPurchaseReturn(String startDate, String endDate);


    /**
     * 获取采购订单信息
     * @return
     */
    R getPurchaseOrderByNo(String orderNo);

}
